//
//  CorrectionViewController.h
//  OrderSeat
//
//  Created by wangwei on 13-10-9.
//  Copyright (c) 2013年 wangwei. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "BaseViewController.h"
#import "ShopHomeViewController.h"

@class CorrectionDataSource;
@interface CorrectionViewController : BaseViewController<ASIHTTPRequestDelegate,UIGestureRecognizerDelegate,UITextViewDelegate,UITextFieldDelegate>

@property (weak, nonatomic) IBOutlet UIScrollView *theScrollview;
@property (strong, nonatomic) ShopHomeViewController *parentController;
@property (strong, nonatomic) IBOutlet UIView *backView;
@property (weak, nonatomic) IBOutlet UIView *contactView;
@property (strong, nonatomic) IBOutlet UITextView *tvContent;
@property (strong, nonatomic) IBOutlet UILabel *thankLabel;
@property (strong, nonatomic) IBOutlet UITextField *tvContact;
@property (strong, nonatomic) IBOutlet UIButton *btnSubmit;
@property (strong, nonatomic) NSString *shopId;
@property (strong, nonatomic) CorrectionDataSource *dataSource;

- (id)initWithShopId:(NSString*)shopId;

@end

@interface CorrectionDataSource : BaseDataSource

@property (strong, nonatomic) CorrectionViewController *viewController;

- (void)submitWithURL:(NSString *)url;

@end
